package com.iims.oder.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;

/**
 * 合同归档
 *
 * @author fanpei
 * @date 2021/6/18 17:13
 */
@ApiModel("合同归档对象")
@Data
public class ContractFilingVo {
    @ApiModelProperty(value = "合同Id", required = true)
    @Positive(message = "合同id必须有效 >0")
    private Long contractId;

    @ApiModelProperty(value = "归档编号:长度不能超过100个字符")
    @Size(max = 100, message = "归档编号长度不能超过100个字符")
    private String fileCode;

    @ApiModelProperty(value = "归档位置:长度不能超过255个字符")
    @Size(max = 255, message = "归档位置长度不能超过255个字符")
    private String fileLocation;
}
